package cn.ac.jaas.ljx.spring.beanlife;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

public class DemoJSRBean {

	@PostConstruct
	public void init() {
		System.out.println("DemoJSRBean init method with JSR250 @PostConstruct");
	}
	
	public DemoJSRBean() {
		super();
		System.out.println("DemoJSRBean`s Constructor initing");
	}
	
	@PreDestroy
	public void destroy() {
		System.out.println("DemoJSRBean destroy method with jSR250 @PreDestroy");
	}
}
